package ooday03;

public class Student extends Person{
    String className;
    String stuId;
    Student(String name,int age,String address,String className,String stuId){
        super(name, age, address);
        this.className=className;
        this.stuId=stuId;
    }
    void work(){
        System.out.println("一个名叫"+name+"的，"+age+"岁的来自"+address+"的学生在学习"+"他的班级是"+className+"他的学号是"+stuId);
    }
}
